﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.ComponentModel;
using System.Diagnostics;
using System.Data.SqlClient;
//using MyWeb.DataAccessHelper;
//namespace MyWeb.DataAccessLayer
//{
    public class Datacon
    {
        public SqlConnection getcon()
        {
            //请修改此处的连接代码
            string strCon = "Data Source=.;Initial Catalog=guanli;Persist Security Info=True;User ID=sa;password=qwertyui123";
            SqlConnection sqlCon = new SqlConnection(strCon);
            return sqlCon;
        }

        
    }

